package com.jack006.user.service;

import com.jack006.utils.PagedGridResult;

import java.util.Date;

/**
 * @Classname AppUserMngService
 * @Description 管理员用户管理接口
 * @Date 2021-07-03 15:56
 * @Created by jack
 */
public interface AppUserMngService {

    PagedGridResult queryAllUserList(String niceName, Integer status,
                                     Date startDate, Date endDate,
                                     Integer page, Integer pageSize);

    /**
     * 冻结用户或者解冻用户
     * @param userId
     * @param doStatus
     */
    void freezeUserOrNot(String userId, Integer doStatus);
}
